package com.cro.prison.entity.constant;


public enum MESSAGETYPEENUM_POLICE {
    PLAY_PHONE("玩手机",1),
    AREA("在职在岗异常",2),
    SLEEP("趴伏睡觉",3),
    GUARD_AREA("警戒区域异常",4);

    private String name;
    private Integer code;

    MESSAGETYPEENUM_POLICE(String name, Integer code) {
        this.name = name;
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
